package com.springup.trade.item;

public enum Operate {
    INSERT(1, "INSERT"), UPDATE(2, "UPDATE"), CANCEL(3, "CANCEL");
    private final int id;
    private final String name;

    private Operate(int id, String name){
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}
